#!/bin/bash

exec_path=$(dirname "$0")

cd ${exec_path}

mkdir -p ../log


export DAMENG_PASSWORD='test_dameng_pass'

port=8086

# --configFile=

../bin/dameng_exporter_v1.1.6_linux_amd64/dameng_exporter --configFile=../conf/dameng_exporter.config  >> ../log/log.log 2<&1 &


sleep 1

netstat -ntlp | grep ${port}




